package cn.timeapi.sdk.data;


import java.io.Serializable;
import java.util.Map;

/**
 * @description: 接收数据包
 * @author: Vincent Vic
 * @email: vincent-vic@qq.com
 * @time: 2020/4/18 12:46
 */

public class Request implements Serializable {

    /**
     * {
     * "uuid" : "",
     * "serviceid": "",
     * "Param" : { }     //map
     * }
     */

    private String Uuid; // api的uuid
    private String ServiceId; //服务id
    private Map Param; //用户具体的参数


    public Request() {
    }

    public Request(String uuid, String serviceId, Map param) {
        Uuid = uuid;
        ServiceId = serviceId;
        Param = param;
    }

    public String getUuid() {
        return Uuid;
    }

    public void setUuid(String uuid) {
        this.Uuid = uuid;
    }

    public Map getParam() {
        return Param;
    }

    public void setParam(Map param) {
        this.Param = param;
    }

    public String getServiceId() {
        return ServiceId;
    }

    public void setServiceId(String serviceId) {
        this.ServiceId = serviceId;
    }

    @Override
    public String toString() {
        return "Response = { "+
                "Uuid = " + Uuid + " , " +
                "ServiceId = " + ServiceId +" , "+
                "Param = "+ Param +"}";
    }
}
